package com.lee.demonacosclient.feignclient;

import com.lee.demonacosclient.configuration.feign.ServiceProviderFeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @ClassName ServiceProviderClient
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2020/9/20 9:09 AM
 * @Version 1.0
 */
//这里是通过代码的配置方式配置日志级别
//@FeignClient(name = "service-provider", path = "/test", configuration = ServiceProviderFeignConfiguration.class)
//通过配置的方式来设置feign的日志级别
@FeignClient(name = "service-provider", path = "/test")
public interface ServiceProviderClient {
	@GetMapping
	String getTest();
}
